load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

rust_library(
    name = "test_utils",
    testonly = True,
    srcs = glob(["src/**/*.rs"]),
    crate_name = "ic_btc_adapter_test_utils",
    version = "0.1.0",
    deps = [
        # Keep sorted.
        "//rs/bitcoin/adapter",
        "//rs/config",
        "@crate_index//:bitcoin",
        "@crate_index//:flate2",
        "@crate_index//:hex",
        "@crate_index//:jsonrpc",
        "@crate_index//:rand",
        "@crate_index//:serde",
        "@crate_index//:serde_json",
        "@crate_index//:tempfile",
        "@crate_index//:tokio",
    ],
)
